<?php
/**
 * @file sidebar.php(侧边栏1)
 * @package Japan-Style
 */
?>
<div id="sidebar">
<div class="block"><h4>博主何许</h4>
<img src="http://mifunny.info/site/images/author.gif" alt="Author" style="float: left; margin: 0 10px 0 -3px; padding: 0;" />
<p>网名：LD<br /> kldscs[at]gmail.com <br />&nbsp;&nbsp;碌碌无为的梦想青年，虽崇尚热血事业，然天性 食人猥琐、心胸狭窄、鬼神唾弃！</p>			
</div>		

<div id="search"><form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<p><input type="text" value="Search..." name="s" id="s" onfocus="if(this.value=='Search...')this.value=''" onblur="if(this.value=='')this.value='Search...'" />
<input type="submit" id="searchsubmit" class="bt" value="搜索" /></p></form>
</div>

<div class="block"><h4>最新文章</h4>
<ul> <?php wp_get_archives('title_li=&type=postbypost&limit=10'); ?></ul>
</div>

<div class="block"><h4>最近评论</h4>
<ul><?php if (function_exists('simple_recent_comments')) { simple_recent_comments(7, 60, '', ''); } ?></ul>
</div>

<div class="block"><h4>当月热门</h4>
<ul><?php if (function_exists('simple_get_most_viewed')) { simple_get_most_viewed(7, 31); } ?></ul>
</div>

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
<?php
	// just add your own widget 
?>		
<?php endif; ?>

<div class="block"><h4>标签云</h4>
<?php wp_tag_cloud('smallest=8&largest=17&number=35'); ?>
</div>

<div class="block"><h4>归档</h4>
<ul><?php wp_get_archives('type=monthly'); ?></ul>
</div>
	
<div class="block"><h4>友情链接</h4>
<ul><?php wp_list_bookmarks('title_li=&categorize=0&category=35'); ?></ul>
</div>

</div><!-- #sidebar -->